]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st: Fix formatting
authorJasper St. Pierre <jstpierre@mecheye.net>
Mon, 13 Feb 2012 21:29:07 +0000 (16:29 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 14 Feb 2012 19:04:10 +0000 (14:04 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=670034

src/st/st-icon.c
src/st/st-table.c
src/st/st-widget.c

index d6a32f9f81ed5eb40a2589cd11bab127a4e9f060..f20c8e85dcd73b82067fb0e0230aca7d4ec46e01 100644 (file)
@@ -488,7 +488,7 @@ st_icon_update (StIcon *icon)
                                                            priv->gicon,
                                                            priv->icon_size);
     }
- else if (priv->icon_name)
+  else if (priv->icon_name)
     {
       priv->pending_texture = st_texture_cache_load_icon_name (cache,
                                                                theme_node,
index 7d1e1002a06b85c7bc9b9bac62ad43a71c5e5c5d..a44f21fa03797c5852ca4225cc3524f20feff581 100644 (file)
@@ -720,9 +720,7 @@ st_table_allocate (ClutterActor          *self,
   CLUTTER_ACTOR_CLASS (st_table_parent_class)->allocate (self, box, flags);
 
   if (priv->n_cols < 1 || priv->n_rows < 1)
-    {
-      return;
-    };
+    return;
 
   st_theme_node_get_content_box (theme_node, box, &content_box);
 
index c2f71253917aa9c59beb6dad3b9c6ca320d745fd..4b22db9f5a72cd5aa90a68a3b8a16848e3067339 100644 (file)
@@ -530,7 +530,7 @@ st_widget_style_changed (StWidget *widget)
 
 static void
 on_theme_context_changed (StThemeContext *context,
-                          ClutterStage      *stage)
+                          ClutterStage   *stage)
 {
   notify_children_of_style_change (CLUTTER_CONTAINER (stage));
 }
@@ -753,7 +753,8 @@ st_widget_hide (ClutterActor *actor)
 }
 
 static gboolean
-st_widget_get_paint_volume (ClutterActor *self, ClutterPaintVolume *volume)
+st_widget_get_paint_volume (ClutterActor *self,
+                            ClutterPaintVolume *volume)
 {
   ClutterActorBox paint_box, alloc_box;
   StThemeNode *theme_node;
@@ -764,9 +765,9 @@ st_widget_get_paint_volume (ClutterActor *self, ClutterPaintVolume *volume)
   if (!clutter_actor_has_allocation (self))
     return FALSE;
 
-  priv = ST_WIDGET(self)->priv;
+  priv = ST_WIDGET (self)->priv;
 
-  theme_node = st_widget_get_theme_node (ST_WIDGET(self));
+  theme_node = st_widget_get_theme_node (ST_WIDGET (self));
   clutter_actor_get_allocation_box (self, &alloc_box);
 
   if (priv->transition_animation)